oj_server:oj_server.cc
	g++ -o $@ $^ `mysql_config --cflags --libs` -I./include -L./lib -std=c++11 -lctemplate -lpthread -ljsoncpp -lmysqlclient
.PHONY:clean
clean:
	rm -f oj_server